package com.example.consumerdemo;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @auther: 王振方
 * @date: 2023 12 26 15 54
 * @description:
 */
//name 远程服务名
@FeignClient(name="provider")
public interface MyFeignClient {
    @RequestMapping("/hello")
    String hello();
}
